﻿#region File and License Information
/*
<File>
	<License>
		Copyright © 2009 - 2017, Daniel Vaughan. All rights reserved.
		This file is part of Calcium (http://calciumsdk.net), 
		which is released under the MIT License.
		See file /Documentation/License.txt for details.
	</License>
	<CreationDate>2010-03-08 21:15:11Z</CreationDate>
</File>
*/
#endregion

using System;

namespace Outcoder.UI.Xaml
{
	/// <summary>
	/// Occurs if a template part is unable to be located when applying a template.
	/// </summary>
	public class TemplatePartMissingException : Exception
	{
		/// <summary>
		/// Initializes a new instance of the <see cref="TemplatePartMissingException"/> class.
		/// </summary>
		/// <param name="partName">The name of the missing template part.</param>
		public TemplatePartMissingException(string partName) : base("Template " + partName + " not found.")
		{
			/* Intentionally left blank. */
		}
	}
}
